<!DOCTYPE html>
<!-- saved from url=(0094)http://web.hand999.com/daili_mobile/ChargeGoldToAgent.php?name=1111111111&card=50.00&id=672607 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>商户管理系统</title>
<meta name="Keywords" content="">
<meta name="Description" content="">
<meta http-equiv="Cache-Control" content="no-cache">
<meta name="MobileOptimized" content="240">

<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">        
<!-- Mobile Devices Support @begin -->
  
  <meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
  <meta content="no-cache" http-equiv="pragma">
  <meta content="0" http-equiv="expires">
  <meta content="telephone=no, address=no" name="format-detection">
  <meta name="apple-mobile-web-app-capable" content="yes"> <!-- apple devices fullscreen -->
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Mobile Devices Support @end -->
<link rel="stylesheet" type="text/css" href="__CSS__/public.css" media="all">
<link rel="stylesheet" type="text/css" href="__CSS__/style.css" media="all">
<script src="__JS__/jquery-2.1.0.min.js.下载"></script>
</head>

<body class="body">
	<div class="page_top_box">
    <center>
        <div class="page_top">
            <a href="javascript:void(0)" onclick="history.go(-1)" class="back"><img src="__IMG__/ico_back.png"></a>
            <div class="pg_name" onclick="location.reload()">代理充钻</div>

        </div>
    </center>
    </div>
    
    <div class="put_box">
			<?php foreach ($sql as $k=>$v) { ?>
				
			<?php } ?>
		<!-- <form id="myform" name="form1" method="post" action="<?php// echo U('Home/Index/dailichongzuan') ?>"> -->
		<form id="form1" name="form1" method="post" action="zhifu.html?action=tj">

			<div class="put" style="width=100px">
				<label class="lb">充值金额：</label>
				<span id="minus" class="mp">-</span><input id="gold" name="gems2" type="number" value="10" class="txt txt1"><span id="plus" class="mp">+</span>
			</div>
			<div class="put">
				<label class="lb">充钻方式：</label>

				<select id="flag" name="fangshi">
					<option value="">微信</option>
				</select>
			</div>
			<h2 style="font-size:1.5em;color:red">&nbsp; &nbsp;充值比例为：1RMB=1张房卡！！！</h2>
			<div class="btn">
				<input type="submit" value="确定" class="btn">
			</div>
		</form>
	</div>
    
    <div class="pg_foot_box">
<center>
    <div class="pg_foot">
        <a href="<?php echo '__ROOT__/index' ?>">商户管理平台</a>
    </div>
</center>
</div>    
    <div id="popbg" class="pop_box_bg"></div>
    <div id="ophint" class="op_hint">正在充钻，请稍候...</div>
    
     <div id="hintbox" class="hint_box">
        <span id="hintmsg"></span>
    </div>   
    <script type="text/javascript">
		function checkForm(){
			if($("#gold").val() == 0 || $("#gold").val() == ""){
				hintPop("请输入钻石的数量！"); return false;
			}
			goChargeGold();
		}		
		$("#minus").click(function(){
			var gold = Number($("#gold").val());
			if(gold > 1){
				gold = gold - 1;
				$("#gold").val(gold);
			}
		});
		$("#plus").click(function(){
			var gold = Number($("#gold").val());

			gold = gold + 1;
			$("#gold").val(gold);
		});
		
		$("#popbg").click(function(){
			$("#ophint").css("display", "none");
			$("#popbg").css("display", "none");
		});
		
		function hintPop(msg){
			$("#hintmsg").html(msg);
			$("#hintbox").css({"opacity": "1", "display": "block"});
			$("#hintbox").animate({"bottom":"80px"}, "last", function(){
				setTimeout(function(){
					$("#hintbox").animate({"opacity": "0"}, "last", function(){
						$("#hintbox").css({"bottom":"0px", "display": "none"});
					});
				}, 2000);
			});
		}
	</script>

</body>
</html> 
